package com.turtle.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.turtle.entity.sql.Blog;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lijiayu
 * @date 2020/7/20
 * @description
 */
@Repository
public interface BlogMapper extends BaseMapper<Blog> {

    List<Blog> selectListByUserIdAndStatus(@Param("userId") Long userId, @Param("status") Integer status);

}
